package com.rjpacket.chileme.app.fragments;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import android.widget.ImageView;
import android.widget.TextView;
import com.rjpacket.chileme.app.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class CameraFragment extends Fragment {


    public CameraFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View ret = inflater.inflate(R.layout.fragment_camera, container, false);

        TextView titleText = (TextView) getActivity().findViewById(R.id.common_title);
        titleText.setText("美食相机");

        ImageView searchImage = (ImageView) getActivity().findViewById(R.id.common_search);
        searchImage.setVisibility(View.GONE);

        return ret;
    }


}
